package com.example.heathy_me.medicineDetail;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

public class medicineDatabaseHelper extends SQLiteOpenHelper {
    public static final String CREATE_CARD="create table medicine("
            +"id integer primary key autoincrement,"
            +"title text,"
            +"content text)";


    public medicineDatabaseHelper( Context context, String name,SQLiteDatabase.CursorFactory factory, int version) {
        super(context, name, factory, version);
    }

    @Override
    public void onCreate(SQLiteDatabase db) {
        db.execSQL(CREATE_CARD);

    }

    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {

    }
}
